/**
 * OrderYieldRatio
 * Copyright © 2015 - 2017
 * All rights reserved.
 * -----------------------------------
 * 2017-12-29  Created
 */
package com.lzy.product.dtos;

import java.io.Serializable;
import java.math.BigDecimal;

public class OrderYieldRatioDto implements Serializable {
    private static final long serialVersionUID = -6100683007723936354L;
    /**
     * 主键
     */
    private Long id;

    /**
     * 订单编号
     */
    private Long orderId;

    /**
     * 会员ID
     */
    private Long memberId;

    /**
     * 会员昵称
     */
    private String nickName;

    /**
     * 产品编号
     */
    private Long productId;

    /**
     * 订单金额
     */
    private BigDecimal price;

    /**
     * 返现时间
     */
    private Integer cashbackTime;

    /**
     * 返现比例
     */
    private BigDecimal cashbackRatio;

    /**
     * 限制提现时间（天）
     */
    private Integer limitTime;

    /**
     * 日收益
     */
    private BigDecimal dailyIncome;

    /**
     * 返现开始日期（格式：yyyy-MM-dd）
     */
    private String startDate;

    /**
     * 返现截止日期（格式：yyyy-MM-dd）
     */
    private String endDate;

    /**
     * 状态：0-未返现 1-返现中 2-返现结束
     */
    private Integer status;

    /**
     * 删除标记（0-正常，1-已删除）
     */
    private Boolean deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getCashbackTime() {
        return cashbackTime;
    }

    public void setCashbackTime(Integer cashbackTime) {
        this.cashbackTime = cashbackTime;
    }

    public BigDecimal getCashbackRatio() {
        return cashbackRatio;
    }

    public void setCashbackRatio(BigDecimal cashbackRatio) {
        this.cashbackRatio = cashbackRatio;
    }

    public BigDecimal getDailyIncome() {
        return dailyIncome;
    }

    public void setDailyIncome(BigDecimal dailyIncome) {
        this.dailyIncome = dailyIncome;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate == null ? null : startDate.trim();
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate == null ? null : endDate.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Integer getLimitTime() {
        return limitTime;
    }

    public void setLimitTime(Integer limitTime) {
        this.limitTime = limitTime;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}